@extends('layouts.master')

@section("css")
    @parent
    <link rel="stylesheet" type="text/css" href="/css/pages/create.css">
@stop

@section("body")
@include("components.left")
    <div class="create_content">
        <div class="create_title">
            <img src="/images/houtaianliku_12.png">
            添加用户
        </div>
        <div class="create_box">
           
            <div class="rol_div">
                <div class="label_div">
                    姓名
                </div>
                <div class="input_div">
                    <input id="name" type="text" name="">
                </div>
            </div>
            <div class="rol_div">
                <div class="label_div">
                    登录账号
                </div>
                <div class="input_div">
                    <input id="uname" type="text" name="">
                </div>
            </div>
            <div class="rol_div">
                <div class="label_div">
                    密码
                </div>
                <div class="input_div">
                    <input id="password" type="password" name="">
                </div>
            </div>
             <div class="rol_div">
                <div class="label_div">
                    角色
                </div>
                <div class="input_div">
                    <select id="role_id">
                        <option>--请选择--</option>
                        @foreach($roles as $role)
                            <option value="{{$role['id']}}">{{$role['role_name']}}</option>
                        @endforeach
                    </select>
                </div>
            </div>
        </div>
        <div class="btn_div">
            <div class="create_btn">
                新建
            </div>
        </div>
    </div>

@stop

@section("js")
    @parent
    <script type="text/javascript" src="/js/pages/account/create.js"></script>
@stop